Method, system and article of manufacture for searching documents for ranges of numeric values

ABSTRACT

Provided are a method, system, and article of manufacture for searching documents for ranges of numeric values. Document identifiers for documents are accessed, wherein the documents include at least one value that is a member of a set of values. A number of posting lists are generated. Each posting list is associated with a range of consecutive values within the set of values and includes document identifiers for documents including at least one value within the range of consecutive values associated with the posting list, and wherein each document identifier is associated with one value in the set of values included in the document identified by the document identifier. The generated posting lists are stored, wherein the posting lists are used to process a query on a range of values within the set of values.

RELATED APPLICATIONS

This patent application is a continuation of U.S. patent applicationSer. No. 10/949,473, filed on Sep. 24, 2004, which patent applicationsare incorporated herein by reference in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method and article of manufacture forsearching documents for ranges of numeric values.

2. Description of the Related Art

In the current art, a search engine, such as an Internet search engine,receives search request to locate all accessible documents, such as webpages, in a network, such as an Internet or Intranet, that satisfy aquery. The search engine maintains posting lists for searchable words,terms, number, etc., where the posting list for a word comprises thedocument identifiers (docID) of all documents that include the wordassociated with the posting list. At periodic intervals, the searchengine may execute web robots that search the Internet for documents.The robot determines the words in the document associated with postinglists and then adds the located document identifier, i.e., docID, to allposting lists associated with a word in the document.

When a user submits a request for multiple words, the search enginelocates the posting lists for each word included in the search requestand then returns the union of all document IDs in the posting lists ifthe search request is a Boolean OR search. If the search is an ANDrequest, then the search engine returns the document IDs resulting fromthe intersection of the posting lists. Moreover, the query can also bean arbitrary expression, e.g. “A and B or C and not (D) and function (F,G).

SUMMARY

Provided are a method, system, and program for searching documents forranges of numeric values. Document identifiers for documents areaccessed, wherein the documents include at least one value that is amember of a set of values. A number of posting lists are generated. Eachposting list is associated with a range of consecutive values within theset of values and includes document identifiers for documents havingvalues within the range of consecutive values associated with theposting list. Each document identifier is associated with one value inthe set of values included in the document identified by the documentidentifier. The generated posting lists are stored.

In further embodiments, document identifiers for documents are accessed,including at least one value that is a member of a set of values. Anumber of posting lists associated with a first level are generated,wherein each posting list is associated with a range of consecutivevalues within the set of values and includes document identifiers fordocuments having values within the range of consecutive valuesassociated with the posting list. Each document identifier is associatedwith one value in the set of values included in the document identifiedby the document identifier. At least one iteration of generating postinglists for an additional level is performed, wherein each posting listgenerated for the additional level is formed by merging at least twoposting lists associated with a previous level. Each generated postinglist at one additional level is associated with consecutive values inthe set of values. A new additional level and posting lists associatedtherewith are generated with each iteration.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an embodiment of a network computing environment.

FIG. 2 illustrates an embodiment of information maintained in a postinglist.

FIGS. 3 and 6 illustrate embodiments of operations to generate postinglists.

FIGS. 4, 5, and 7 illustrate embodiments of operations to execute aquery using the posting lists.

DETAILED DESCRIPTION

In the following description, reference is made to the accompanyingdrawings which form a part hereof and which illustrate severalembodiments of the present invention. It is understood that otherembodiments may be utilized and structural and operational changes maybe made without departing from the scope of the present invention.

FIG. 1 illustrates a network computing environment having a plurality ofuser systems 2 that may submit queries over a network 4 to a server 6 tosearch network accessible systems 8 for documents 10 that satisfy thequery predicates. The server 6 includes a search engine 12 to receive,execute, and return results for user 2 search queries. The search engine12 maintains a plurality of posting lists 14 in storage 16. Each postinglist 14 includes document identifiers, such as a network address ordocument identifier, e.g., Uniform Resource Locator (URL), docID, etc.,of documents 10 that include the term, i.e., word, number, etc.,associated with that posting list 14. The term associated with a postinglist may comprise a word or combination of words on which users search.In the described embodiments, the posting lists 14 include posting listsassociated with numbers, where a posting list 14 may be associated witha single number or a range of numeric values.

The server 6 further includes an index builder 20 that builds theposting lists 14 used by the search engine 12 to execute queriesreceived from the user systems 2.

FIG. 2 illustrates information maintained with each entry 30 in aposting list 14. Each entry indicates a value 32 and a documentidentifier 34, e.g., network address, docID, etc., identifying adocument 10 in one network accessible system 8 including the value 32.The value 32 may comprise a numeric value or token or some otherpayload, such as an arbitrary field, i.e., the document rank or its URL.Further, the payload can be empty (no value). A document identifier 34may be included in posting list entries 30 in different posting lists 14associated with values or terms included in the document 10.

The user systems 2 may comprise any computing device capable ofsubmitting queries, i.e., search requests, to the server 6, includingdesktop computers, notebook computers, workstations, hand heldcomputers, servers, mainframes, telephony devices, etc. The user systems2 includes a browser program (not shown), such as a Hypertext MarkupLanguage (HTML) web browser, capable of requesting and accessingdocuments 10 at network accessible systems 8 and submitting searchrequests to the server 6. The network 4 may comprise one or morenetworks known in the art, such as a Wide Area Network (WAN), Local AreaNetwork (LAN), Storage Area Network (SAN), wireless network, theInternet, and Intranet, etc. The server 6 may comprise one or morecomputational machines, such as one or more servers, suitable forhandling search requests from the user systems 2. The number of serversused for the server 6 depends on the anticipated network traffic fromuser systems 2.

The network accessible system 8 comprises any computational device orstorage system capable of storing documents 10 and making such documentsavailable to the user systems 2 and server 6 over the network 4. Thenetwork accessible systems 8 includes a program to respond to documentrequests from the user systems 2 and server 6 over the network 4, suchas a Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP),Network File System (NFS), etc. Certain network systems may function asboth a user system 2 and network accessible system 8 serving documents10. The documents 10 may be implemented in different computer readableformats, e.g., text, HTML, images, video, sound, Portable DocumentFormat (PDF), and include searchable text or searchable metadata thatthe server 6 may access to index the documents 10 in the posting lists14. The search engine 12 may periodically search for and accessdocuments 10 in the network accessible systems 8, i.e., crawl thenetwork 4, and determine whether the content of an accessed the document10, in the body, metadata or header of the document 10, includes a termor numeric value that is associated with one of the posting lists.Document identifiers identifying documents having a term or valueassociated with a posting list 14 are added as an entry 30 (FIG. 2) tothe associated posting list 14.

The server 6 includes a search engine 12 program. The search engine 12includes a crawler, an indexer (shown as index builder 20) and a searchserver. The crawler collects documents from the network. The indexerextracts the searchable terms, including numeric values, from thedocuments and builds posting lists. The search server uses the postinglists to generate search results for the user's queries. The indexbuilder 20 component of the search engine 6 generates the posting lists14 that the search engine 12 queries to determine document identifiersidentifying documents that satisfy the search request parameters, whichmay include a numeric range, words, text, etc. The numeric range maycomprise price, date, etc.

FIG. 3 illustrates an embodiment of operations performed by the indexbuilder 20 to construct posting lists 14 to enable searching for anumeric value within a specified search range. The process is initiated(at block 100) to build posting lists 14 to allow searching on a set ofN numeric values. The set of N values may comprise a range ofconsecutive values, comprising integers and/or real numbers. In oneembodiment, when starting the indexing process, N may not be known. Insuch embodiment, during the indexing process (parsing and tokenizationphase), the documents are scanned and the numeric values are extracted.These extracted numeric values determine the value of N and the indexingphase continues based on this determined value of N. The index builder20 accesses (at block 102) document identifiers 34 for documents 10 inthe network 4 including at least one value that is a member of a set ofvalues. The index builder 20 may access posting lists 14 each associatedwith one value in the set of values to determine the documentidentifiers 32 of documents 10 that include a value in the range ofvalues. The document identifiers 34 and value 32 pairs, or posting listentries 30, are sorted (at block 104) according to the documentidentifier 34 associated with the pair, i.e., posting list entry 30. Theindex builder 20 generates (at block 106) a number of posting lists 14such that each posting list 14 is associated with a range of consecutivevalues within the set of N values and includes document identifiers 34for documents 10 having values within the range of consecutive valuesassociated with the posting list. In one embodiment, the values indifferent posting lists 14 may overlap. In such case, the query-timealgorithm chooses a set of posting lists that include disjoint sets ofvalues.

In one embodiment, the posting lists 14 may be associated with a rangeof consecutive values determined by dividing the number of values (N) bythe number of posting lists, so that the N values in the set are equallydistributed among the posting lists 14. The generated posting lists 14include entries 30 having document identifiers 34 for documents 10 thatinclude a value within the range of values associated with the postinglist. Multiple entries in one generated posting list 14 may have thesame document identifier 34 if the document identified by the documentidentifier 34 includes multiple values in the range of values associatedwith the generated posting list 14. The generated posting lists 14 arethen stored (at block 108) in the storage 16.

FIG. 4 illustrates operations performed by the search engine 12 toexecute a search request on a range of values using the posting lists 14generated using the operations of FIG. 3. The search engine 12 receives(at block 150) a query on a query range of values (V_(min) to V_(max))from one of the user systems 2. The query may also include query termson other predicates, such as words, terms, phrases, numbers, etc. Thesearch engine 14 determines (at block 152) a minimum number of postinglists 14 associated with consecutive values that include the query rangeof values. Thus, the search engine 12 selects a minimum number of one ortwo posting lists 14 that span the query range. In one embodiment, theremay be a filtering restriction limiting the number of filteringoperations that may be performed on a selected minimum number of postinglists. In such case, the search engine 14 selects a greater number ofsmaller lists that span the query range of values but that contain fewervalues outside of the query range that need filtering in order tosatisfy the filtering restriction. The determined posting lists 14including the maximum (V_(max)) and minimum (V_(min)) values in thequery range may also have values that fall outside of the query range.In such case, the search engine 12 filters (at block 154) at least oneof the determined posting lists 14 including values outside of the queryrange of values to remove values not within the query range of values toform at least one filtered posting list only including values within thequery range of values. In one embodiment, zero or no more than twoposting lists will be filtered, the one or two posting lists includingthe lowest and highest values of the range. The filtering is notperformed if the posting lists 14 do not include any values outside ofthe query range. Thus, the posting lists 12 including the maximum andminimum values of the query range may be filtered to produce filteredposting lists only including values within the query range.

The search engine 12 then merges (at block 126) the determined postinglists, which may include filtered posting lists, to form a mergedposting list including document identifiers 34 of documents 10 includingvalues within the query range. The search engine 12 returns (at block128) the document identifiers in the merged posting list to the usersystem 2 initiating the query. In returning the document identifiers,the search engine 12 may remove multiple instances of the documentidentifiers for different values within the range so that a documentidentifier is presented only once for all values in the range it mayhave. The document identifiers may be returned to the user system 2 in aweb page or search report in a format known in the art. In certainembodiments, the document identifiers relevant to the numeric field areprocessed along with other query terms, most often words, to finddocuments relevant to the entire query. In this way, the numeric rangequerying can be used with free-text queries because queries oftencontain more than just a single numeric range.

FIG. 5 illustrates one embodiment of operations the search engineperforms to execute a search request from a user system 2 including aquery range of numeric values. At block 170, the search engine 12determines a maximum posting list having a maximum value in the queryrange (V_(max)), a minimum posting list having minimum value in thequery range (V_(min)), and any posting lists having values therebetween(middle posting lists). The maximum posting list is filtered (at block172) to determine all values less than V_(max) to produce filteredmaximum posting list having only those values less than V_(max) thatfall within the query range. The minimum posting list is filtered (atblock 174) to determine all values greater than V_(min) to produce afiltered minimum posting list having only those values greater thanV_(min) that fall within the query range. The search engine 12 thenmerges (at block 176) the filtered minimum posting list, filteredmaximum posting list and any middle posting lists by document ID toproduce merged posting list having one instance of each document ID.

FIG. 6 illustrates an additional embodiment of the operations performedby the index builder 20 to construct the posting lists 14. Uponinitiating (at block 200) a process to build posting lists for rangesearching on a set of N values, the index builder 20 determines (atblock 202) a number (b) of posting lists 14 for the first level as afunction of a number of the values in the set of values (N) and amaximum number of records to filter (F), e.g., b=N/2F. In oneembodiment, the number (b) of posting lists may be required to be atleast N/2F. The index builder 20 further determines (at block 204) anumber of levels (L). The number of levels (L) may be determined as thenumber of posting lists the developer allows to be consulted usingevaluation (more levels—less posting lists are needed). Further, theamount of storage space needed is a function of L, i.e., the storagespace required by all the posting list entries 30 associated with valueswithin the set of N values. The index builder 20 may further determine(at block 206) a fixed number of posting lists to merge (c) to obtainall entries that span the queried range, also known as a clusteringfactor, that is a function of the number of posting lists 14 generatedfor the first level (b), i.e., b/N, and a number of levels for whichposting lists are generated (L). The function to determine the number ofposting lists to merge at each level, e.g., the clustering factor (c)may be calculated according to equation (1) below:

$\begin{matrix}\left( \frac{b}{2} \right)^{\frac{1}{L + 1}} & (1)\end{matrix}$

The index builder 20 then performs (at block 208) the operations atblocks 102-106 in FIG. 3 to generate a number of posting lists (e.g., b)associated with a first level. In alternative embodiments, any of theparameters, e.g., N, F, L, and b, used in calculating the number ofposting lists to generate may be manually entered or determined based onempirical testing. Each posting list 14 is associated with a range ofconsecutive values within the set of values and includes documentidentifiers 34 for documents 10 having values within the range ofconsecutive values associated with the posting list. The index builder20 performs (at block 210) one or more iterations of generating postinglists associated with an additional level. Each posting list associatedwith the additional level is formed by merging at least two postinglists associated with a previous level. Each generated posting listincludes consecutive values within the set of values. In one embodiment,posting lists may be generated for the L levels, where L may becalculated according to the operations in block 204. Further, the numberof posting lists merged to form a posting list for an additional levelfollowing the first level may comprise the clustering factor (c)calculated according to the operations in block 206. At each increasingadditional level, the number of posting lists formed for that leveldecreases by a factor of the clustering factor (c). The posting lists 14for all the different levels, from one to L, are stored in storage 16(at block 212).

FIG. 7 illustrates one embodiment of operations the search engine 12performs to execute a search request from a user system 2 including aquery range of numeric values. At block 250, the search engine 12receives a query on a query range of values (V_(min) to V_(max)). Thequery may also include query terms on other predicates, such as words,terms, phrases, numbers, etc. The search engine 12 determines (at block252) a minimum number of posting lists 14 associated with one or morelevels having consecutive values that include the query range of values.In determining the minimum number of posting lists 14, the search engine12 may first determine posting lists of consecutive values at a highestlevel, i.e., having a greatest range of values that are completelyincluded in the query range. The values in the query range that falloutside of the ranges defined by the determined posting list at thehighest level comprise one or more residual ranges. The search enginewould then move to a next lower level of posting lists having a smallerrange than the previously considered level to locate posting lists thatfall completely within any of the residual ranges. This process ofdetermining residual ranges and looking at the next lower level to findsmaller posting lists that fit within any residual ranges would continueup until there are no more residual ranges or to the first level, wherea selected posting list at the first level would have a minimum numberof values outside of the query range. The minimum number of postinglists may also be selected to minimize filtering. Further, the minimumnumber of posting lists may be selected in different orders or usingdifferent algorithms than described above.

The search engine 12 filters (at block 254) at least one of thedetermined posting lists at the first level if the determined postinglists at the first level include values outside of the query range ofvalues. In one embodiment, the number of determined posting lists may bejust one or two. This filtering removes values from the posting lists atthe first level that are not within the query range of values to form atleast one filtered posting list only including values within the queryrange of values. In one embodiment, this search engine 12 may performthe operations in FIG. 5 to filter posting lists at the first levelincluding values outside of the first range. The filtering operation isnot performed if any determined posting lists (if there are any) at thefirst level are not associated with values outside of the query range.The search engine then merges (at block 256) the determined postinglists (including any filtered posting lists) to form a merged postinglist including document identifiers of documents including values withinthe query range. The merging operation may be implemented by performingthe operations at blocks 258-262. At block 258, the search engine 12accesses a document identifier 34 associated with a lowest value fromthe determined posting lists 14 encompassing the query range. Theaccessed document identifier is added (at block 260) to the mergedposting list being formed. The search engine 12 repeats (at block 262)the operations of accessing and adding the document identifier 34 for anext lowest value 32 from the determined posting lists until all thedocument identifiers, which may be in posting list entry 30 format, inthe determined posting lists have been added to the merged posting listbeing formed. The document identifiers in the merged posting list aresorted according to the values associated with the document identifiers.These document identifiers are then returned (at block 264) to the usersystem 2 initiating the query. This merging operation at blocks 258-262may comprise a heap merge.

At certain intervals, the server 6 may update posting lists by crawlingthe web, i.e., accessing network accessible systems 8, for documentsincluding values associated with posting lists 14 and then perform theoperations in FIG. 3 or 6 to regenerate the posting lists 14 havingranges of values to use for queries on ranges of values. In this way,the posting lists having the ranges of values to search on areregenerated at regular intervals to include newly located documents.

FIG. 8 illustrates an example of posting lists 300 at different layers0-3, where layer 0 has posting lists 0-16. Layer 1 includes postinglists formed by merging each two consecutive posting lists, e.g., 0 and1, 2 and 3, 4, and 5, etc. from the previous layer 0. Likewise, Layer 2includes posting lists formed by merging each two consecutive postinglists from the previous layer 1. The algorithm described above wouldperform a query of a range from 2-14 by selecting the minimum number ofposting lists including this range, which would include layer 2 lists 4and 8, layer 1 list 1, and layer 0 list 14.

The user systems 2 may submit queries that include both query ranges ofnumeric values as well as other query terms, such as words, terms, etc.In such case, when forming the merged posting lists, the search engine12 may merge the merged posting list of the document identifiersassociated with the query range of values with posting lists associatedwith other query terms, such as words, phrases, etc. If the queryinvolved an OR operation of the terms and query range, then merging theposting lists for the query range involves forming a union of thedocument identifiers, e.g., document IDs of all determined postinglists. If the query involved an AND operation, then merging the postinglists for the query range involves determining an intersection of thedocument identifiers, e.g., document IDs, in all the determined postinglists.

ADDITIONAL EMBODIMENT DETAILS

The described operations may be implemented as a method, apparatus orarticle of manufacture using standard programming and/or engineeringtechniques to produce software, firmware, hardware, or any combinationthereof. The term “article of manufacture” as used herein refers to codeor logic implemented in hardware logic (e.g., an integrated circuitchip, Programmable Gate Array (PGA), Application Specific IntegratedCircuit (ASIC), etc.) or a computer readable medium, such as magneticstorage medium (e.g., hard disk drives, floppy disks, tape, etc.),optical storage (CD-ROMs, optical disks, etc.), volatile andnon-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs,SRAMs, firmware, programmable logic, etc.). Code in the computerreadable medium is accessed and executed by a processor. The code inwhich preferred embodiments are implemented may further be accessiblethrough a transmission media or from a file server over a network. Insuch cases, the article of manufacture in which the code is implementedmay comprise a transmission media, such as a network transmission line,wireless transmission media, signals propagating through space, radiowaves, infrared signals, etc. Thus, the “article of manufacture” maycomprise the medium in which the code is embodied. Additionally, the“article of manufacture” may comprise a combination of hardware andsoftware components in which the code is embodied, processed, andexecuted. Of course, those skilled in the art will recognize that manymodifications may be made to this configuration without departing fromthe scope of the present invention, and that the article of manufacturemay comprise any information bearing medium known in the art.

The described operations may be performed by circuitry, where“circuitry” refers to either hardware or software or a combinationthereof. The circuitry for performing the operations of the describedembodiments may comprise a hardware device, such as an integratedcircuit chip, Programmable Gate Array (PGA), Application SpecificIntegrated Circuit (ASIC), etc. The circuitry may also comprise aprocessor component, such as an integrated circuit, and code in acomputer readable medium, such as memory, wherein the code is executedby the processor to perform the operations of the described embodiments.

FIG. 1 shows the documents 10 as being network documents in a networkaccessible system. However, the described embodiments are alsoapplicable to desktop search engines where no network access is neededfor indexing documents. Furthermore, the search engines may be provideddocument identifiers and indexable payloads or values by an applicationother than crawl the crawler. Thus, the described embodiments may applyto searching any collection of documents, and is not limited to networkdocuments.

The illustrated operations of FIGS. 3-7 show certain events occurring ina certain order. In alternative embodiments, certain operations may beperformed in a different order, modified or removed. Moreover, steps maybe added to the above described logic and still conform to the describedembodiments. Further, operations described herein may occur sequentiallyor certain operations may be processed in parallel. Yet further,operations may be performed by a single processing unit or bydistributed processing units.

The foregoing description of various embodiments of the invention hasbeen presented for the purposes of illustration and description. It isnot intended to be exhaustive or to limit the invention to the preciseform disclosed. Many modifications and variations are possible in lightof the above teaching. It is intended that the scope of the invention belimited not by this detailed description, but rather by the claimsappended hereto. The above specification, examples and data provide acomplete description of the manufacture and use of the composition ofthe invention. Since many embodiments of the invention can be madewithout departing from the spirit and scope of the invention, theinvention resides in the claims hereinafter appended.

1. A computer implemented method, comprising: accessing documentidentifiers for documents, wherein the documents include at least onevalue that is a member of a set of values; generating a number ofposting lists, wherein each posting list is associated with a range ofconsecutive values within the set of values and includes documentidentifiers for documents including at least one value within the rangeof consecutive values associated with the posting list, and wherein eachdocument identifier is associated with one value in the set of valuesincluded in the document identified by the document identifier; andstoring the generated posting lists, wherein the posting lists are usedto process a query on a range of values within the set of values.
 2. Themethod of claim 1, further comprising: sorting the document identifierand value pairs in each posting list by the document identifiers.
 3. Themethod of claim 1, wherein the range associated with each posting listincludes a number of values determined by dividing the number of valuesin the set of values by the number of posting lists.
 4. The method ofclaim 1, wherein the set of values comprises at least one of an integerand a real number.
 5. A computer implemented method, comprising:accessing document identifiers for documents including at least onevalue that is a member of a set of values; generating a number ofposting lists associated with a first level, wherein each posting listis associated with a range of consecutive values within the set ofvalues and includes document identifiers for documents including atleast one value within the range of consecutive values associated withthe posting list, and wherein each document identifier is associatedwith one value in the set of values included in the document identifiedby the document identifier; and performing at least one iteration ofgenerating posting lists for an additional level, wherein each postinglist generated for the additional level is formed by merging at leasttwo posting lists associated with a previous level, wherein eachgenerated posting list at one additional level is associated withconsecutive values in the set of values, wherein each document in thegenerated posting list at the additional level includes one value in theconsecutive values associated with the posting list at the additionallevel, and wherein a new additional level and posting lists associatedtherewith are generated with each iteration.
 6. The method of claim 5,wherein the number of posting lists generated for the first level is afunction of a number of the values in the set of values and a maximumnumber of records to filter in posting lists at the first level.
 7. Themethod of claim 6, wherein the function comprises dividing the number ofvalues in the set of values by two times the maximum number of recordsto filter.
 8. The method of claim 5, wherein each posting list generatedfor one additional level is formed by merging a fixed number of postinglists associated with the previous level.
 9. The method of claim 8,wherein the fixed number of posting lists is a function of the number ofposting lists generated for the first level and a number of levels forwhich posting lists are generated.
 10. The method of claim 5, whereinthe additional iterations are performed to generate posting lists for anumber of levels.
 11. The method of claim 5, further comprising:filtering at least one of the determined posting lists at the firstlevel in response to the determined posting lists at the first levelincluding values outside of the query range of values to remove valuesnot within the query range of values to form at least one filteredposting list only including values within the query range of values,wherein merging the determined posting lists comprising merging the atleast one filtered posting list and determined posting lists that arenot subject to filtering.
 12. The method of claim 11, wherein mergingthe determined posting lists comprises: accessing documents identifiersassociated with a lowest value from the determined posting lists; addingthe accessed document identifiers to the merged posting list; andrepeating the operations of accessing and adding the documentidentifiers for a next lowest value from the determined posting listsuntil all the document identifiers in the determined posting lists havebeen added to the merged posting list, wherein the document identifiersin the merged posting list are sorted according to the values associatedwith the document identifiers.
 13. The method of claim 5, wherein theset of values comprises at least one of an integer and a real number.14. A system in communication, comprising: a processor; a computerreadable medium including code executed by the processor to performoperations, the operations comprising: accessing document identifiersfor documents, wherein the documents include at least one value that isa member of a set of values; generating a number of posting lists,wherein each posting list is associated with a range of consecutivevalues within the set of values and includes document identifiers fordocuments including at least one value within the range of consecutivevalues associated with the posting list, and wherein each documentidentifier is associated with one value in the set of values included inthe document identified by the document identifier; and storing thegenerated posting lists, wherein the posting lists are used to process aquery on a range of values within the set of values.
 15. The system ofclaim 14, wherein the range associated with each posting list includes anumber of values determined by dividing the number of values in the setof values by the number of posting lists.
 16. The system of claim 14,wherein the set of values comprises at least one of an integer and areal number.
 17. An article of manufacture comprising at least one of ahardware device implementing logic and a computer storage media havingcomputer executable code to cause operations to be performed, theoperations comprising: accessing document identifiers for documents,wherein the documents include at least one value that is a member of aset of values; generating a number of posting lists, wherein eachposting list is associated with a range of consecutive values within theset of values and includes document identifiers for documents includingat least one value within the range of consecutive values associatedwith the posting list, and wherein each document identifier isassociated with one value in the set of values included in the documentidentified by the document identifier; and storing the generated postinglists, wherein the posting lists are used to process a query on a rangeof values within the set of values.
 18. The article of manufacture ofclaim 17, wherein the operations further comprise: sorting the documentidentifier and value pairs in each posting list by the documentidentifiers.
 19. The article of manufacture of claim 17, wherein therange associated with each posting list includes a number of valuesdetermined by dividing the number of values in the set of values by thenumber of posting lists.
 20. The system of claim 17, wherein the set ofvalues comprises at least one of an integer and a real number.